# **********************************************************************
#
# Copyright (c) 2003-2008 ZeroC, Inc. All rights reserved.
#
# This copy of Ice is licensed to you under the terms described in the
# ICE_LICENSE file included in this distribution.
#
# **********************************************************************

# Ice version 3.3.0
# Generated from file `tx_control.ice'

import Ice, IcePy, __builtin__

# Start of module AcornTxControl
_M_AcornTxControl = Ice.openModule('AcornTxControl')
__name__ = 'AcornTxControl'

if not _M_AcornTxControl.__dict__.has_key('TxControl'):
    _M_AcornTxControl.TxControl = Ice.createTempClass()
    class TxControl(Ice.Object):
        def __init__(self):
            if __builtin__.type(self) == _M_AcornTxControl.TxControl:
                raise RuntimeError('AcornTxControl.TxControl is an abstract class')

        def ice_ids(self, current=None):
            return ('::AcornTxControl::TxControl', '::Ice::Object')

        def ice_id(self, current=None):
            return '::AcornTxControl::TxControl'

        def ice_staticId():
            return '::AcornTxControl::TxControl'
        ice_staticId = staticmethod(ice_staticId)

        #
        # Operation signatures.
        #
        # def freqSet(self, freq, current=None):
        # def freqInc(self, inc, current=None):
        # def mox(self, state, current=None):

        def __str__(self):
            return IcePy.stringify(self, _M_AcornTxControl._t_TxControl)

        __repr__ = __str__

    _M_AcornTxControl.TxControlPrx = Ice.createTempClass()
    class TxControlPrx(Ice.ObjectPrx):

        def freqSet(self, freq, _ctx=None):
            return _M_AcornTxControl.TxControl._op_freqSet.invoke(self, ((freq, ), _ctx))

        def freqInc(self, inc, _ctx=None):
            return _M_AcornTxControl.TxControl._op_freqInc.invoke(self, ((inc, ), _ctx))

        def mox(self, state, _ctx=None):
            return _M_AcornTxControl.TxControl._op_mox.invoke(self, ((state, ), _ctx))

        def checkedCast(proxy, facetOrCtx=None, _ctx=None):
            return _M_AcornTxControl.TxControlPrx.ice_checkedCast(proxy, '::AcornTxControl::TxControl', facetOrCtx, _ctx)
        checkedCast = staticmethod(checkedCast)

        def uncheckedCast(proxy, facet=None):
            return _M_AcornTxControl.TxControlPrx.ice_uncheckedCast(proxy, facet)
        uncheckedCast = staticmethod(uncheckedCast)

    _M_AcornTxControl._t_TxControlPrx = IcePy.defineProxy('::AcornTxControl::TxControl', TxControlPrx)

    _M_AcornTxControl._t_TxControl = IcePy.defineClass('::AcornTxControl::TxControl', TxControl, (), True, None, (), ())
    TxControl.ice_type = _M_AcornTxControl._t_TxControl

    TxControl._op_freqSet = IcePy.Operation('freqSet', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, (), (((), IcePy._t_float),), (), None, ())
    TxControl._op_freqInc = IcePy.Operation('freqInc', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, (), (((), IcePy._t_float),), (), None, ())
    TxControl._op_mox = IcePy.Operation('mox', Ice.OperationMode.Normal, Ice.OperationMode.Normal, False, (), (((), IcePy._t_bool),), (), None, ())

    _M_AcornTxControl.TxControl = TxControl
    del TxControl

    _M_AcornTxControl.TxControlPrx = TxControlPrx
    del TxControlPrx

# End of module AcornTxControl
